package com.kaifamiao.store.system.mapper;

import com.kaifamiao.store.system.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author 10854
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2023-12-11 10:52:40
* @Entity com.kaifamiao.store.system.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from sys_user where username = #{username} and password = #{password}")
    User selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}




